package me.mygenerics;

import java.util.ArrayList;
import java.util.Arrays;

public class GenericsDemo1 {
    public static void main(String[] args) {
        MyArrayList1<Integer> list = new MyArrayList1<>();
        list.add(1);
        list.add(4);
        list.add(3);

        int i = list.get(0);
        System.out.println(i);
        System.out.println(list);

    }
}
